home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gSurvolPrec, gCodEnv, gTextEnvL, gEtatEtud, g1erSprLoc, gMaxBoutons, gEtudPrec, gCDpath, gCodZoom, gIndEnv, gTitBestEnv
- repeat with i = g1erSprLoc to gMaxBoutons
- puppetSprite(i, 1)
- end repeat
- set monNumEnv to getPos(gCodEnv, gEtatEtud)
- set monInd to getPos(gIndEnv, gCodZoom)
- set maPos to (((monInd - 1) * 4) + monNumEnv) * 2
- gScopeFi(SetTime, maPos)
- set monTxt to getAt(gTextEnvL, monNumEnv)
- if (the number of lines in monTxt = 1) or (gEtatEtud = "NEA") then
- gBoutons(habille, g1erSprLoc, "VIDE")
- end if
- set the text of cast "TXT ENV" to line 1 of monTxt
- set montitre to getAt(gTitBestEnv, maPos / 2)
- set the text of cast "Titre Fi Env" to montitre
- repeat with i = g1erSprLoc to gMaxBoutons
- set the visible of sprite i to 1
- end repeat
- set the visible of sprite 3 to 1
- set the visible of sprite 4 to 1
- JukeBox(1, " ")
- gScopeFi(visible, 1)
- end
-